<%-- 
    Document   : UserProfile
    Created on : May 29, 2012, 11:00:33 PM
    Author     : LAVANYA
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>User Profile</title>
        <style>
            h2 {color:white; font-family:"Times New Roman";}
            td {color:"#003471"; font-family:"Times New Roman";}
        </style>
        <style>
            
            #l{color:#000000;}
            #k{color:#000fff;}
        </style>
        <script lang="javascript" type="text/javascript">
            window.history.forward(1);
        </script>
         <link href="calendar.css" rel="stylesheet" type="text/css">
        <script type="text/javascript" src="calendar.js"></script>
        <link rel="stylesheet" href='style.css' type="text/css" />
        <script>
            function validate()
            {
                var status = false;     
                if (document.form2.Source.value == document.form2.Destination.value)
                {
                    alert("Source and Destination Cities Cannot Be Same.");
                    document.form2.Destination.focus();
                    return false;
                }
                return true;
            }
        </script>
    </head>
    <body>
            <%
            response.setHeader("Pragma", "No-cache");
            response.setHeader("Cache-Control", "no-cache");
            response.setHeader("Cache-Control", "must-revalidate");
            response.setDateHeader("Expires",0);
            %>
            <%
             if(session.getAttribute("l")==null)
             {
                 
                 response.sendRedirect("Login.jsp");
             }
            %>
        
   
        
        <table width="974" border="0" style="position:relative; top:-17px; margin-left:auto; margin-right:auto;" cellspacing="10">
            <tr>
                <td background="images/bgg.jpg" height="130px" width="90px" colspan="4" align="center">
                    
                </td>
            </tr>
            <tr>
                <td align="center" colspan="4">
                    <div id="navigation">
                        <ul>
                            <li><a href="index.jsp">Home</a></li>
                            <li><a href="Login.jsp">Sign In</a></li>
                            <li><a href="Registration.jsp">Sign Up</a></li>
                            <li><a href="ContactUs.jsp">Contact Us</a></li>
                                    


                        </ul>
                    </div>
                </td>
            </tr>
            
            <tr>
                <td id="k">
                    Welcome &nbsp; <font color="#889022"><%= session.getAttribute("l")%></font> 
                </td>
                <td>
                  
                </td>
                <td>
                   
                </td>
                <td id="k"> <a href="Login3.jsp" >Logout </a>
                </td>
            </tr>
        </table>
    </body>
</html>